@include('Home.head')
<body>
<div class="container" id="app">
    <header data-am-widget="header" class="am-header am-header-default my-header">
        <div class="am-header-left am-header-nav">
            <a  onclick="javascript:history.back(-1);" class="">
                <i class="am-header-icon am-icon-chevron-left"></i>
            </a>
        </div>
        <h1 class="am-header-title">
            <a href="#title-link" class="">我的门店</a>
        </h1>
        <div class="am-header-right am-header-nav">
            <a href="" class="">
                <i class="am-header-icon  am-icon-home"></i>
            </a>
        </div>
    </header>
    <div class="cart-panel">
        <form class="am-form">
            门店名称：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled v-model="StoreInfo.shop_name">
            </div>
            门店编号：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled v-model="StoreInfo.number">
            </div>
             申请人：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled v-model="StoreInfo.name">
            </div>
             联系电话：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled v-model="StoreInfo.phone">
            </div>
             地址：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled v-model="StoreInfo.province+StoreInfo.city+StoreInfo.district+StoreInfo.address">
            </div>
             评分：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled v-model="StoreInfo.score">
            </div>
             门店订金：
            <div class="am-form-group am-form-icon">
                <input type="number" class="am-form-field  my-radius"  disabled v-model="StoreInfo.earnest_money">
            </div>
            状态：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled value="已通过">
            </div>
            申请时间：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled v-model="StoreInfo.apply_time">
            </div>
            审核时间：
            <div class="am-form-group am-form-icon">
                <input type="text" class="am-form-field  my-radius"  disabled v-model="StoreInfo.audit_time">
            </div>
        </form>
    </div>
     @include('Home.foot')
</div>
</body>
<script>
    var app = new Vue({
        el: "#app",
        data: {
            StoreInfo: {}
        },
        methods: {
            initialize: function () { //查找资料
                $.post("/home/stores/stores", {'_token': '{{csrf_token()}}','class':'select'}, function (res) {
                    if (res.code) {
                        // console.log(res.data);
                        app.StoreInfo = res.data;
                    } else {
                        layer.msg(res.data);
                    }
                });
            }
        },
        //自动执行
        mounted: function () {
            this.initialize();
        },
    })
</script>
</html>










